home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr27
/
v14n08.zip
/
MMDD.ZIP
/
DATETIME.BAT
next >
Wrap
DOS Batch File
|
1994-09-06
|
268b
|
12 lines
@ECHO OFF
REM DATETIME.BAT - get date and time into variables
IF NOT '%3'=='' GOTO SecondTime
ECHO @PROMPT %0 $d $t > DTTM$$$1.BAT
COMMAND /E:512 /C DTTM$$$1.BAT > DTTM$$$2.BAT
DTTM$$$2
:SecondTime
DEL DTTM$$$?.BAT
SET DayOfWeek=%1
SET Date=%2
SET Time=%3